package com.chenhao.springcloud.chenhaodesignservice.design.demeter;

import java.util.ArrayList;
import java.util.List;

/**
 * Description:
 *
 * @author chenhao
 * @date 2020/12/8 16:38
 */
public class TeamLeader {
    public void checkNumberOfCourse(){
        List<Course>  courseList = new ArrayList <Course>();
        for (int i =0;i<20; i++){
            courseList.add(new Course());
        }
        System.out.println("在线课程数量是："+courseList.size());
    }
}
